package com.sjr.easy.chat.business;

import com.sjr.easy.chat.model.User;
import com.sjr.easy.chat.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class UserBusiness {

    @Autowired
    private UserService userService;

    public List<User> getAllUser() {
        return userService.getAllUser();
    }

}
